local qiangjian = fk.CreateSkill({
    name = "sj5__qiangjian",
    tags = { Skill.AttachedKingdom },
    attached_kingdom = {"shu"},
})

Fk:loadTranslationTable{
  ["sj5__qiangjian"] = "强谏",
  [":sj5__qiangjian"] = "<b><font color='red'>蜀势力技</font></b>，其他角色的摸牌阶段结束时，你可以与其拼点，若你赢，其获得你的拼点牌，然后跳过本回合的出牌阶段和弃牌阶段。",
  
  ["$sj5__qiangjian1"] = "陛下降，若魏不裂土以封，臣必以古义争之。",
  ["$sj5__qiangjian2"] = "诸葛公天纵之才而堪堪弼国，况我等凡夫乎？",
  
  
  ["#sj5__qiangjian-ask"] = "请选择从何处摸%arg张牌",
  ["#sj5__qiangjian-invoke"] = "变更势力",
}

qiangjian:addEffect(fk.EventPhaseEnd, {
  anim_type = "control",
  can_trigger = function(self, event, target, player, data)
    return target.phase == Player.Draw and player:hasSkill(qiangjian.name) and player:canPindian(target)
  end,
  on_cost = function (self, event, target, player, data)
    return player.room:askToSkillInvoke(player,{skill_name = qiangjian.name})
  end,
  on_use = function(self, event, target, player, data)
    local room = player.room
    local pindian = player:pindian({target},qiangjian.name)
    if pindian.results[target].winner == player then
      room:obtainCard(target, pindian.fromCard, true, fk.ReasonJustMove,player,qiangjian.name)
      target:skip(Player.Play)
      target:skip(Player.Discard)
    end
  end,
})


return qiangjian